From 6959fb15d308e23ab1cceea476c34d8c24f9d0d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A1n=20Vesel=C3=BD?= Date: Thu, 6 Dec 2018 14:21:27 -0500 Subject: [PATCH] Add gitlab CI configuration Build both automake and meson using latest arch Signed-off-by: Jan Vesely --- .gitlab-ci.yml | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..377010f --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,61 @@ +.artifacts-meson: &artifacts-meson + when: always + paths: + - _build/meson-logs + +.artifacts-autotools: &artifacts-autotools + when: always + paths: + - _build/*.log + - _build/*/*.log + - _build/*/*/*.log + +.meson-build-lcms: &meson-build-lcms + - meson _build + -D enable-f16c=true + -D enable-mmx=true + -D enable-sse=true + -D enable-sse2=true + -D enable-sse3=true + -D enable-sse4_1=true + -D with-docs=true + - ninja -C _build + - ninja -C _build test + +.autotools-build-lcms: &autotools-build-lcms + - mkdir _build + - cd _build + - ../autogen.sh + --enable-docs + --enable-f16c + --enable-mmx + --enable-sse + --enable-sse2 + --enable-sse3 + --enable-sse4_1 + --with-lcms + - make + - make check + +latest-meson-lcms: + stage: build + image: base/archlinux:latest + artifacts: *artifacts-meson + before_script: + - pacman -Syu --noconfirm --needed + base-devel + meson + lcms2 + git + script: *meson-build-lcms + +latest-autotools-lcms: + stage: build + image: base/archlinux:latest + artifacts: *artifacts-autotools + before_script: + - pacman -Syu --noconfirm --needed + base-devel + lcms2 + git + script: *autotools-build-lcms -- 2.30.2